derivative of logx with base a